package org.mozhu.mboot.admin;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

@Service
@Data
public class GlobalSettings {

    @Value(value = "${sys.external.url}")
    String externalUrl;

    @Value(value = "${sys.email.signature}")
    String emailSignature;

    @Value(value = "${sys.email.signature.english}")
    String emailSignatureEnglish;

    @Value(value = "${sys.email.from}")
    String mailFrom;

    @Value(value = "${sys.email.bcc}")
    String mailBcc;

    @Value(value = "${sys.email.validation.expire.minutes}")
    Integer emailExpireMinutes;

    @Value(value = "${sys.email.task.enable}")
    boolean emailTaskEnable;
    
}
